Skip to content

Gravity update foundation#1219

Merged
jkirk5 merged 16 commits into
OpenMDAO:mainfrom
ehariton:gravity
Jul 13, 2026
Merged

Gravity update foundation#1219
jkirk5 merged 16 commits into
OpenMDAO:mainfrom
ehariton:gravity

Conversation

@ehariton

@ehariton ehariton commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Added Mission.GRAVITY. Did not start using this in any components yet. That will be a follow-on PR.

Related Issues

Partial fix for #1192, but more work needs to be done to complete replace constants.

Backwards incompatibilities

None

AI Usage

Disclose any AI usage in this PR, including models used and files affected.

Comment thread aviary/subsystems/atmosphere/atmosphere.py
@Kenneth-T-Moore

Copy link
Copy Markdown
Member

This seems like a good approach that we could also use for sea level density in the components where it is used.

Comment thread aviary/constants.py Outdated
'm',
) # Venus Global Reference Atmospheric Model (Venus-GRAM): User Guide, NASA/TM-20210022168, avg of equatorial and polar radius

GNS = 9.8236930 # grav_accel_at_surface_earth # remove this asap

@jkirk5 jkirk5 Jul 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this added in the first place? It's not used anywhere, can we remove it right now?

@ehariton ehariton Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I commented this line out but left it as a TODO.

GNS is used in a utils.py file. It was hard coded and didn't reference the constants file so it skipped under the radar.

I put it here in constants so we would remember to change it.

@jkirk5 jkirk5 added this pull request to the merge queue Jul 13, 2026
Merged via the queue into OpenMDAO:main with commit 241f2c6 Jul 13, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants